{template header}
<div id="breadcrumb">
    <!-- breadcrumb starts-->
    <div class="container">
        <div class="one-half">
            <h4>{$catname}</h4>
        </div>
        <div class="one-half">
            <nav id="breadcrumbs">
                <!--breadcrumb nav starts-->
                <ul>
                    <li>您当前位置：</li>
                    <li><a  href="{SITE_PATH}">首页</a> > {catpos($catid, ' &gt;&nbsp;&nbsp;')}</li>
                </ul>
            </nav>
            <!--breadcrumb nav ends -->
        </div>
    </div>
</div>

<div id="content">
<div class="container">
    <div class="one">
        <div class="one-fourth sidebar">
            <div class="widget">
                {php $Pcat = getParentData($catid);}
                {if $Pcat}
                <h4 class="widget-title">{$Pcat['catname']}</h4>
                <ul class="sidebar-nav">

                    {php $data = getCatNav($catid);}
                    {loop $data $t}
                    <li><a {if $t['catid']==$catid} style="font-weight: bold"{/if} href="{$t['url']}"><i class="icon-angle-right"></i> {$t['catname']}</a></li>
                    {/loop}
                </ul>
                {else}
                <h4 class="widget-title">{$catname}</h4>
                {/if}
            </div>
        </div>
        <div class="three-fourth">

            {$content}
            <!--文章内容分页 begin-->
            {if $contentpage}
            <div class="cpage">
                {loop $contentpage $i=>$u}
                <a{if $page!=$i} href="{$u}"{/if}>{$i}</a>
                {/loop}
            </div>
            <div class="clear blank10"></div>
            {/if}
            <!--文章内容分页 end-->
        </div>
    </div>
</div>
</div>



{template footer}